package com.scpii.api.persistence.content;

import java.util.List;

import com.scpii.api.domain.content.Categories;

public interface CategoriesMapper {
	int deleteByPrimaryKey(Long id);

	int insert(Categories record);

	int insertSelective(Categories record);

	Categories selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Categories record);

	int updateByPrimaryKeyWithBLOBs(Categories record);

	int updateByPrimaryKey(Categories record);

	Categories selectCategoriesTableByParentId(Long parentId);

	/**
	 * @param categories
	 * @return
	 */
	List<Categories> selectBySelective(Categories categories);
}